local tdata = '{"ft":"s","f":"", "a":"gpio", "p":"3","time":"30"}'

print(tdata)

newData = cjson.decode(tdata)
print(type(newData))

print(newData["a"])